2160 COLOR= 10: VLIN 1,46 AT 0: VLIN 0,47 AT 39: REM "DRAW" ASTERICKS (*) ALONG EDGES
2170 VTAB 3: PRINT "* BRICK OUT IS A DYNAMIC BOARD GAME": PRINT "* IN WHICH YOU ATTEMPT TO KNOCK DOWN"
2180 PRINT "* A WALL OF BRICKS WITH A BALL": PRINT "* STRUCK BY YOUR PADDLE.": PRINT : PRINT
2190 PRINT "* YOU CONTROL THE PADDLE ON THE BOARD": PRINT "* BY TURNING THE APPLE PADDLE (0).": PRINT : PRINT
2200 PRINT "* YOU MAY "; CHR$(34);"PUT ENGLISH"; CHR$(34);" ON THE BALL": PRINT "* (DEFLECT THE BALL) BY HITTING IT": PRINT "* WITH THE PADDLE HELD OFF-CENTER."
2210 PRINT : PRINT
2220 POKE -16368,0
2240 PRINT "* BEFORE WE BEGIN, PLEASE TYPE": PRINT "* YOUR FIRST NAME AND THEN PRESS": PRINT "* THE KEY MARKED "; CHR$(34);"RETURN"; CHR$(34);
2250 POKE PEEK(40) + PEEK(41) *256 + PEEK(36),96: REM CURSOR
2260 P = PEEK( -16384): IF P = 155 THEN 11000
2270 IF PEEK( -16287) >127 THEN 2335
2280 IF P <156 AND P < >141 THEN 2260
2290 INPUT "";A$
2300 IF LEN(A$) = 0 THEN 2335
2310 FOR I = 1 TO LEN(A$): IF ASC( MID$ (A$,I,I)) < >64 THEN 2330
2320 NEXT I:I = I -1
2330 A$ = MID$ (A$,I, LEN(A$)): IF LEN(A$) THEN IF LEN(A$) >12 THEN A$ = LEFT$(A$,12)
2335 GOTO 2490
2340 CALL -936: VTAB 5: PRINT "========================================";: INVERSE : PRINT " L I T T L E B R I C K O U T ";: NORMAL : PRINT "========================================"
2350 VTAB 12: PRINT " COPYRIGHT 1979 APPLE COMPUTER INC"
2410 VTAB 20
2420 PRINT : PRINT "(PRESSING THE ESC KEY WILL END THE GAME)"
2450 VTAB 23: PRINT "PRESS THE SPACE BAR TO BEGIN....";: POKE PEEK(40) + PEEK(41) *256 + PEEK(36),96: POKE -16368,0
2460 P = PEEK( -16384): IF PEEK( -16287) >127 THEN 2480
2470 IF P < >160 AND P < >155 THEN 2460
2480 POKE -16368,0: IF P = 155 THEN 11000
2485 HOME : VTAB 24: HTAB 1: RETURN
2490 CALL -936
2500 GR :A = 2:B = 12:C = 9:D = 13:E = 2:F = 15: REM COLORS
2510 LL = 5:P = 15
2520 GOSUB 355
2580 OOLDP1 = PDL(1)
2860 GOSUB 1300
2870 S = 0:Y = 19:L = 6
2880 VTAB 23: POKE 50,63: PRINT " PUSH PADDLE BUTTON TO BEGIN THE GAME ";: POKE 50,255
2890 FOR K = 1 TO 20: NEXT K: REM ALLOW TIME FOR USER TO RELEASE BUTTON FROM LAST PUSH
2900 GOSUB 20
2904 P1 = PDL(1): IF ( ABS(OOLDP1 -P1) >3 OR PEEK( -16286) >127) AND NOT ERASE THEN GOSUB 4810
2905 OOLDP1 = P1: REM WRONG PADDLE
2906 IF ERASE THEN ERASE = ERASE -1
2907 IF ERASE = 1 THEN GOSUB 4800
2909 IF PEEK( -16287) <128 AND PEEK( -16384) < >155 THEN 2900
2910 VTAB 23: CALL -868
2920 COLOR= A: PLOT X,Y/3:Y = 120 * RND(1)
2930 X = 19
2940 V = -1:W = 5 * RND(1) -2:L = L -1: IF L <1 THEN 800
2947 IF LEN(A$) THEN IF L >1 THEN PRINT A$", ";
2950 IF L >1 THEN PRINT "THIS IS BALL ";6 -L;" OUT OF 5."
2970 IF PEEK( -16384) = 155 THEN 11000
2980 IF L < >1 THEN 3010
2990 POKE 50,63: PRINT "THIS IS THE LAST BALL";
3000 POKE 50,255: VTAB 23: PRINT
3010 FOR I = 1 TO 25 +125 * RND(1): GOSUB 20: NEXT I:M = 1:N = 0
3020 GOTO 80
4800 VTAB 23: HTAB 1: CALL -868: POKE 50,63: PRINT " PUSH PADDLE BUTTON TO BEGIN THE GAME ";: POKE 50,255:OQ = 500: RETURN
4810 VTAB 23: HTAB 1: CALL -868: PRINT " <<< PLEASE USE THE OTHER PADDLE. >>> ";